package com.helloandroid.msg

object NotifiConfig{

    // 常驻通知
    const val Resident = 0x12
    const val ResidentChannelId = "resident_channel_id"
    const val ResidentChannelName = "resident_channel_name"

    // 其他通知
    // 签到 吃饭提醒 步数完成
    const val Channel_Remind_Id = "id_remind"
    const val Channel_Remind_Name = "提醒通知"
    const val Nid_Remind = 0x11
}


object Msg{
    const val C2S_LoginOrOut = 1
    const val C2S_ChangeBsTarget = 2
    const val C2S_SignSuccess = 3    // 签到成功
    const val C2S_BuShuDaKaSuccess = 4  // 步数打卡成功
    const val C2S_PlayHby = 5  //  玩家玩红包雨

    const val C2S_ZaoDaKaSuccess = 6  // 早餐打卡
    const val C2S_ZhongDaKaSuccess = 7
    const val C2S_XiaWuDaKaSuccess = 8
    const val C2S_WanDaSuccess = 9
    const val C2S_XiaoyeDaKaSuccess = 10
    // const val C2S_ReqSysBuShu = 11  //  客户端请求系统步数

    // 查询一些preference
    const val C2S_Pref_Resident = 12 // 查询玩家是否开启了常驻通知
    const val C2S_Pref_Sign = 13  // 查询签到flag
    const val C2S_Pref_Hby = 14  // 查询签到flag
    const val C2S_Pref_ChiFan = 15  // 查询签到flag
    const val C2S_Pref_BuShu = 16  // 查询签到flag

    //---------------------------------------------
//    const val S2C_UserInfo = 1000

    //--------------------------
    const val IntentKey_FgService = "fg_service"
    const val IntentKey_IsFake = "is_fake"
    const val FgServiceNotification = 1   // 前台通知
    const val NormalNotification = 2  // 普通通知
}



object MsgKey{
    const val UserId = "user_id"
    const val ServerTimeMs = "serverTimeMs"
    const val SysBuShu = "sys_bushu"
    const val BsTarget = "bs_target"
    const val CurBs = "cur_bs"
}